package com.zx.idc.backend.gui.api.watch.handler;

import com.zx.idc.backend.gui.api.watch.handler.base.AbstractFtpUploadResultHandler;
import org.springframework.stereotype.Component;

import static com.zx.idc.common.attributes.FTPReportDataTypeAttributes.FTP_RESERVED;

/**
 * 保留结果处理器
 */
@Component
public class ReservedResultHandler extends AbstractFtpUploadResultHandler {
    /**
     * 匹配
     *
     * @param type
     * @return
     */
    @Override
    public boolean adapter(String type) {
        return FTP_RESERVED.equals(type);
    }

}
